﻿using AbstractLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RougamoAgent
{
    public class RougamoMyServices : IMyServices
    {
        [Logging]
        public string SayHellow(string name)
        {
            Console.WriteLine($"Hello,{name},我正在执行方法");
            return name;
        }

        [Logging]
        public Task<string> SayHellowAsync(string name)
        {
            Console.WriteLine($"Hello,{name},我正在执行异步方法");
            return Task.FromResult(name);
        }
    }
}
